#pragma once
#include<d3d9.h>
#include<d3dx9.h>
#include<String>
#include<iostream>
#include<fstream>
class FWTexture;
using namespace std;
class FWMap
{
private:
	FWTexture* _texture;
	int** _matrix;
	int _count_Row;
	int _count_Colum;
	void LoadMatrix(string path);
public:	
	void Init(string txt_Matrix, FWTexture* texture);
	void Update();
	void Render();
	int **GetMatrix();
	FWMap(void);
	~FWMap(void);
};

